import request from '../utils/request';


// 根据vin号查询获取策略配置
export function getLatestStrategyConfigByVinApi (data) {
    return request({
        apiType:'CAR',
        baseURL: 'carmanage',
        url: '/web/strategyConfig/getLatestStrategyConfigByVin',
        method: 'post',
        data
    });
};
// 根据vin号查询历史配置的策略列表
export function getStrategyConfigPageByVinApi (data) {
    return request({
        apiType:'CAR',
        baseURL: 'carmanage',
        url: '/web/strategyConfig/getStrategyConfigPageByVin',
        method: 'post',
        data
    });
};
// 根据vin号查询获取当前生效策略
export function getCurrentRelationStrategyPageByVinApi (data) {
    return request({
        apiType:'CAR',
        baseURL: 'carmanage',
        url: '/web/strategy/getCurrentRelationStrategyPageByVin',
        method: 'post',
        data
    });
};
